while True:
    name=input("name:")
    age=input("age:")
    sex=input("sex:")
    height=input("height:")
    msg='''
             ------------%s info-----------
             name:%s
             age:%s
             sex:%s
             height:%s
             ------------------------------
        '''%(name,name,age,sex,height)
    print(msg)
    quit=input("是否退出？（Y/N）")
    if quit.upper() == "Y":
        break